<?php

namespace app\api\controller;

use app\api\service\OutboundService;
use think\Log;

/**
 * 八百呼API
 * User: Feng
 * Date: 2020/08/27.
 */
class Outbound extends Common
{
    /**
     * User: Feng
     * Date: 2020/08/27.
     */
    public function outbound()
    {
        $data = input();
        Log::record('接收数据====：'.json_encode($data), 'outbound');
        $res = (new OutboundService())->getOutbound($data);
        Log::record('返回数据：'.json_encode($res), 'outbound');
    }
}
